export default function jsonToMap(obj) {
  const entries = Object.entries(obj)
  return new Map(entries.map(p => [+p[0], p[1]]))
}
